package com.zhonghui.modlules.user.eshopVo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zhonghui.modlules.user.eshopDto.MUserBillDto;

import java.util.List;

public class BillVo {
    private String time;
    @JsonIgnore
    private String ids;
    private List<MUserBillDto> list;

    public BillVo() {
    }

    public String getTime() {
        return this.time;
    }

    public String getIds() {
        return this.ids;
    }

    public List<MUserBillDto> getList() {
        return this.list;
    }

    public void setTime(final String time) {
        this.time = time;
    }

    @JsonIgnore
    public void setIds(final String ids) {
        this.ids = ids;
    }

    public void setList(final List<MUserBillDto> list) {
        this.list = list;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof BillVo)) {
            return false;
        } else {
            BillVo other = (BillVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$time = this.getTime();
                    Object other$time = other.getTime();
                    if (this$time == null) {
                        if (other$time == null) {
                            break label47;
                        }
                    } else if (this$time.equals(other$time)) {
                        break label47;
                    }

                    return false;
                }

                Object this$ids = this.getIds();
                Object other$ids = other.getIds();
                if (this$ids == null) {
                    if (other$ids != null) {
                        return false;
                    }
                } else if (!this$ids.equals(other$ids)) {
                    return false;
                }

                Object this$list = this.getList();
                Object other$list = other.getList();
                if (this$list == null) {
                    if (other$list != null) {
                        return false;
                    }
                } else if (!this$list.equals(other$list)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof BillVo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $time = this.getTime();
        result = result * 59 + ($time == null ? 43 : $time.hashCode());
        Object $ids = this.getIds();
        result = result * 59 + ($ids == null ? 43 : $ids.hashCode());
        Object $list = this.getList();
        result = result * 59 + ($list == null ? 43 : $list.hashCode());
        return result;
    }

    public String toString() {
        return "BillVo(time=" + this.getTime() + ", ids=" + this.getIds() + ", list=" + this.getList() + ")";
    }
}
